package cn.tianya.irock.util;

import java.util.ArrayList;
import java.util.List;

public class Resource {
	
	private int messageId;
	private String title;
	private List<String> descs;
	private List<Link> links;
	
	public Resource() {
		messageId = 0;
		title = "";
		descs = new ArrayList<String>();
		links = new ArrayList<Link>();
	}
	
	public int getMessageId() {
		return messageId;
	}
	public void setMessageId(int messageId) {
		this.messageId = messageId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public List<String> getDescripts() {
		return descs;
	}
	public List<Link> getLinks() {
		return links;
	}
	
	public void addDescript(String desc) {
		descs.add(desc);
	}
	public void addLink(Link link) {
		links.add(link);
	}
}

